Skip to content

London| 26-ITP-Sep |Vaibhav Patel| Sprint 1 | Form control - #1490

Open
vibhu9407 wants to merge 1 commit into
CodeYourFuture:mainfrom
vibhu9407:feature/form-controls
Open

London| 26-ITP-Sep |Vaibhav Patel| Sprint 1 | Form control#1490
vibhu9407 wants to merge 1 commit into
CodeYourFuture:mainfrom
vibhu9407:feature/form-controls

Conversation

@vibhu9407

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Task code

CYF-1004

Changelist

  • Written a code for collecting customer data for t shirt selling like name,size,color & email.

Questions

Do i have to create submit button or it is fine as i did?

@netlify

netlify Bot commented Sep 9, 2026

Copy link
Copy Markdown

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 53e2904
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6aa1da2e7443fc0008868334
😎 Deploy Preview https://deploy-preview-1490--cyf-onboarding-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
2 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 81 (🔴 down 5 from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

This comment has been minimized.

@vibhu9407 vibhu9407 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 9, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 9, 2026
@vibhu9407 vibhu9407 changed the title London| 26-ITP-Sep |Vaibhav Patel| Sprint-1 | Form control London| 26-ITP-Sep |Vaibhav Patel| Sprint 2 | Form control Sep 10, 2026
@vibhu9407 vibhu9407 changed the title London| 26-ITP-Sep |Vaibhav Patel| Sprint 2 | Form control London| 26-ITP-Sep |Vaibhav Patel| Sprint 1 | Form control Sep 10, 2026
@vibhu9407 vibhu9407 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 10, 2026

@cjyuan cjyuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do i have to create submit button or it is fine as i did?

Yes. You should.

Comment thread Form-Controls/index.html
Comment on lines +26 to +28
<div>
<label for="email">Email:</label>
<input

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation is off.

Suggestion:

  • Look up the benefits of using a code formatter.
  • Install the Prettier extension for VS Code, then:
    • Use VS Code's Format Document feature to format your code.
    • Optionally, enable Format On Save and Format On Paste to keep your code consistently formatted.

Resource: Visual Studio Code - Formatting

Note: The formatter may not work correctly if your code contains syntax errors.

Comment thread Form-Controls/index.html
Comment on lines +56 to 59
<!-- write your html here-->
<!--
try writing out the requirements first as comments
this will also help you fill in your PR message later-->

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the comments are no longer needed, you could delete them to keep the code clean.

Comment thread Form-Controls/index.html
Comment on lines +18 to +21
<input
type="text"
id="name"
name="name"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chrome's "Developer tools" identified this possible improvement:

Image

Comment thread Form-Controls/index.html
Comment on lines +36 to +45
<label for="color">T-shirt color:</label>
<select id="color" name="color" required>
<option value="">Please choose a color</option>
<option value="Black">Black</option>
<option value="White">White</option>
<option value="Blue">Blue</option>
</select>
</div>
<div>
<label for="size">T-shirt Size:</label>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you spot a minor inconsistency between these two labels?

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants